import './assets/main.css'

import { createApp } from 'vue'
import { createPinia } from 'pinia'
import persist from 'pinia-plugin-persistedstate'
import App from './App.vue'
import router from './router'




const app = createApp(App)

app.use(router)
app.use(createPinia().use(persist))
app.mount('#app')




// app.use(cors());

// // 你的其他路由和中间件代码

// app.listen(9000, () => {
//   console.log('Server is running on port 9000');
// });